﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.AddIn;
using System.AddIn.Contract;
using System.AddIn.Hosting;
using System.AddIn.Pipeline;
using Contracts;
using AddInViews;

namespace AddInAdapters
{
    [AddInAdapter]
    public class _AddInAdapters: ContractBase, _IContract
    {
        private _AddInView _view;
        public _AddInAdapters(_AddInView view)
        {
            _view = view;
        }
        public object calculate(int a, int b)
        {
            return _view.calculate(a, b);
        }
    }
}
